<br>
<br>
<br>
<div class="row">
    <div class="col-xs-12 col-md-12">
        <div class="grid simple">
            <div class="grid-body no-border">
                <form action="<?= DOMAIN.'goods/batch_change_brand' ?>" method="POST"> 
                    <? foreach($goods_sn as $gs): ?>
                        <input type="hidden" name="goods_sn[]" value="<?= $gs ?>">
                    <? endforeach ?>
                    <div class="row">
                        <div class="row form-row">
                            <div class="col-xs-12 col-md-12">
                                <h4 class="form-label">把所选 
                                    <span class="semi-bold"><?= count($goods_sn) ?> </span> 个商品品牌修改为：
                                </h4>
                            </div> 
                            <br>
                            <div class="col-xs-8 col-md-8">
                                <select name="brand_sn" class="select2 form-control">
                                    <? if($brand): ?>
                                        <? foreach ($brand as $b): ?>
                                            <option value="<?= $b['brand_sn'] ?>"><?= $b['name'] ?></option>
                                        <? endforeach ?>
                                    <? endif ?>
                                </select>
                            </div> 
                        </div>
                    </div>
                    
                    <div class="form-actions">  
                        <div class="pull-left">
                            <button class="btn btn-success btn-cons" type="submit">
                                <i class="icon-save"></i>&nbsp;保存</button>
                            </button>
                            <button class="btn btn-white btn-cons" type="button" onclick="$.T.reset_form(this)">
                                重置
                            </button>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>